<?php

class UserLoginForm extends CFormModel {

    public $login;
    public $password;
    public $remember = false;

    private $_idetnity;

    public function rules() {
        return array(
            array ('login, password', 'required'),
            array ('remember', 'boolean'),
            //array ('password', '')
        );
    }

    public function validatePassword() {

    }
}
